package com.example.facade;

import com.example.facade.task.ATask;
import com.example.facade.task.BTask;
import com.example.facade.task.CTask;

public class FacadeTask {
    private ATask task1 = new ATask();
    private BTask task2 = new BTask();
    private CTask task3 = new CTask();

    public void task() {
        task1.task1("自动到A大厅处理");
        task2.task2("自动到B大厅处理");
        task3.task3("自动到C大厅处理");
    }
}
